package com.mz.mattress.admin.service;

import com.mz.mattress.api.common.Result;
import com.mz.mattress.api.entity.Region;

import java.util.List;

public interface RegionService {

    void generateRegion();

    /**
     * 根据pid获取子区域
     */
    Result<List<Region>> list(Integer pid);

}